From 656729f47795743c9dd2dfef1d38b0dbb595e9d2 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Tue, 24 May 2005 09:27:31 +0000 Subject: [PATCH] bitkeeper revision 1.1523.1.1 (4292f383Cc0iiNE6syBhzLa27UwM7w) Makefile: Fix library link on systems which don't have libxc installed (yet). Signed-off-by: Christian Limpach --- tools/xcutils/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile index dbdc45d496..6c5ffad657 100644 --- a/tools/xcutils/Makefile +++ b/tools/xcutils/Makefile @@ -32,14 +32,15 @@ PROG_DEP = .*.d PROGRAMS = xc_restore xc_restore_OBJS = xc_restore.o -xc_restore_LIBS = xc + +LDLIBS += -L$(XEN_LIBXC) -lxc .PHONY: all all: build build: $(PROGRAMS) define PROGRAM_template - $(1): $$($(1)_OBJS) $$($(1)_LIBS:%=-l%) + $(1): $$($(1)_OBJS) ALL_OBJS += $$($(1)_OBJS) endef -- 2.30.2